package com.inspinia.message.common.model;

import cn.hutool.json.JSONUtil;
import lombok.*;

import java.io.Serializable;

@Data
public class NoticeCountLinkData implements Serializable {
    private int unreadTotal;

    public NoticeCountLinkData(int unreadTotal) {
        this.unreadTotal = unreadTotal;
    }

    public static void main(String[] args) {
        String s = JSONUtil.toJsonStr(new NoticeCountLinkData(123));
        System.out.println(s);
    }
}

